package thinkingJava.chapter05;
import static util.Print.*;
public class AutoboxingVarargs {
	public static void f(Integer... args) {
		for (Integer i : args) {
			printnb(i + " ");
		}
		print();
	}
	public static void main(String[] args) {
		f(new Integer(1), new Integer(2), new Integer(3));
		f(1,2,3,4);
		f(10, new Integer(11), 23);
	}
}
